package zsrt.com.dao.impl;

import java.util.Map;
import zsrt.com.dao.AdminBusinessDao;
import zsrt.com.dao.ExamineeDao;
import zsrt.com.excel.GetValue;

public abstract class AdminBusinessAbstractDaoImpl implements AdminBusinessDao{
	/**
	 * 考生的准考证号判断
	 * @param map			判断的考生的容器
	 * @param examineeDao	需要判断的考生对象
	 * @return				返回结果
	 */
	public boolean examineeGudge(String id){
		if(id == null){
			System.out.println("准考证不能为空...");
			return false;
		}
		//拿到判断的容器
		Map<String, ExamineeDao> map = GetValue.getValue();
		//返回结果
		boolean result = map.containsKey(id);
		if(result){
			return true;
		}
		return false;
	}
}
